﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Core.Common;
using FortuneHeavenCommon.DataMap;
using FortuneHeavenDAL;

namespace FortuneHeavenBAL
{
    public class AreaUserScoreBO : CommonOperate<AreaUserScore>
    {
          public AreaUserScoreDAL _giftDAL;
          public AreaUserScoreBO()
              : base()
          {
              _giftDAL = new AreaUserScoreDAL();
          }
          public List<AreaUserScore> GetList(int page, int size, string province, string city)
          {
              if (province == "全部")
              {
                  province = "";
              }
              if (city == "全部")
              {
                  city = "";
              }
              return _giftDAL.GetList(page, size, province, city);
          }
          public List<AreaUserScore> GetList(string province, string city)
          {
              if (province == "全部")
              {
                  province = "";
              }
              if (city == "全部")
              {
                  city = "";
              }
              return _giftDAL.GetList( province, city);
          }
          public int GetTotalSize(string province, string city)
          {
              if (province == "全部")
              {
                  province = "";
              }
              if (city == "全部")
              {
                  city = "";
              }
              return _giftDAL.GetTotalSize(province, city);
          }

          public List<AreaUserScore> GetMoreDetailList(int page, int size, string province, string city)
          {
              if (province == "全部")
              {
                  province = "";
              }
              if (city == "全部")
              {
                  city = "";
              }
              return _giftDAL.GetMoreDetailList(page, size, province, city);
          }

          public List<AreaUserScore> GetMoreDetailList(string province, string city)
          {
              if (province == "全部")
              {
                  province = "";
              }
              if (city == "全部")
              {
                  city = "";
              }
              return _giftDAL.GetMoreDetailList( province, city);
          }
          public int GetMoreTotalSize(string province, string city)
          {
              if (province == "全部")
              {
                  province = "";
              }
              if (city == "全部")
              {
                  city = "";
              }
              return _giftDAL.GetMoreTotalSize(province, city);
          }

    }
}
